package de.lns.render;

import static org.lwjgl.opengl.GL15.*;

import java.nio.FloatBuffer;


public class StaticLayer extends Layer {
	public StaticLayer(Model target, FloatBuffer verts, FloatBuffer maps){
		super(target, verts, maps);
	}

	@Override
	protected void writeVertices(int offset) {
		glBufferSubData(GL_ARRAY_BUFFER, offset, vertices);
	}

	@Override
	protected void writeMapping(int offset) {
		glBufferSubData(GL_ARRAY_BUFFER, offset, texCoords);
	}
}
